package com.example.blog.mapper;

import com.example.blog.model.UserInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserInfoMapper {
    int deleteById(Integer id);

    int insert(UserInfo record);

    UserInfo selectById(Integer id);

    List<UserInfo> selectAll();

    int updateById(UserInfo record);

    UserInfo selectByName(String userName);
}
